## This is a file I use for small script development 
## so I can run lots of tests without spinning up the 
## rails env every time I want to run a test.
##
## to run this 
##                  script/runner script/import/tiny.rb



long_name = 'For. Many, "there \n were! &$ No ne"'

short_name = ''

long_name.each do |character|
  print "testing" + character + "\n"
  if /[a-z]|[0-9]/.match(character)
    short_name += character
  end
end 

print short_name

#project = Project.find_by_id(1)



#project.publish_site_properties

#project.publish_bug_lists

#project.publish_site

=begin
project.managers.each do |manager|
  puts "--------------- " + manager.full_name + "'s team ---------------------\n"
  project.team(manager).each do |employee|
    puts employee.as_csv + "\n"
  end
  puts "\n\n\n"
end
=end
  

#Owner.find_all_by_project_id(project.id, :conditions => [ "person_id = manager_id"] ).each do |owner|
#  puts [owner.person.username,owner.person.first_name,owner.person.last_name].join(',') + "\n"
#end
